package com.mycompany.app.hr.tna.service;

import com.mycompany.app.hr.tna.model.PunchClock;

public interface IPunchClockService {
    
    /**
     * avoid too much punch clock data import. 
     * limit: 
     * 1.check interval of punch time is less than 15m.
     * clock.punch_time >
     * v_punch_time - NUMTODSINTERVAL(15, 'minute') and clock.punch_time <
     * v_punch_time + NUMTODSINTERVAL(15, 'minute')
     * 2.check punch date isnt large than current date.
     * @param pc
     * @return
     */
    public boolean isValidPunchClock(PunchClock pc);

}
